//
//  Q1CollectionViewCell.m
//  RedManStock
//
//  Created by lanou3g on 15/7/25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "Q1CollectionViewCell.h"

@implementation Q1CollectionViewCell

- (void)awakeFromNib {
    // Initialization code
    
//    self.frame.size.width = ([UIScreen mainScreen].bounds.size.width/3)-4;
}


-(void)setMarketIndex:(MarketIndex *)marketIndex{
    
    if (_marketIndex != marketIndex) {
        
        _marketIndex = marketIndex;
        
    }
    
    self.nameLabel.text = marketIndex.name;
    self.nowPriceLabel.text = marketIndex.nowPriceSB;
    self.updownLabel.text = marketIndex.updownSB;
    self.updownRateLabel.text = marketIndex.updownRateSB;
    

}



@end
